NetLogo banner

Home
Download
Help
Resources
Extensions
FAQ
NetLogo Publications
Contact Us
Donate

Models:
Library
Community
Modeling Commons

Beginners Interactive NetLogo Dictionary (BIND)
NetLogo Dictionary

User Manuals:
Web
Printable
Chinese
Czech
Farsi / Persian
Japanese
Spanish

  Donate

NetLogo User Community Models

(back to the NetLogo User Community Models)

[screen shot]

Download
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".

Try It in NetLogo Web

## WHAT IS IT?

A model of table salt (sodium chloride, NaCl) dissolving in water.

## HOW IT WORKS

Molecules wiggle around. When an NaCl molecule (white triangle) meets a water molecule (blue circle), it dissolves into an Na+ ion (green square) and a Cl- ion (yellow star).

## HOW TO USE IT

Clear button - clears the world and plots

Add NaCl button - adds NaCl concentrated near the center of the field
NaCl-units-to-add - number of NaCl molecules to add when button is pressed

Add water button - adds water scattered throughout the field
water-units-to-add - number of water molecules to add when button is pressed

wiggle-angle - When molecules move, they take a random left turn of up to wiggle-angle, then a random right turn of up to wiggle-angle. What does changing the angle do?

Molecules by Time plot - plots the number of solid NaCl molecules and the number of dissolved Na+ and Cl- ions at each time step.

## THINGS TO NOTICE

(suggested things for the user to notice while running the model)

## THINGS TO TRY

(suggested things for the user to try to do (move sliders, switches, etc.) with the model)

## EXTENDING THE MODEL

(suggested things to add or change in the Code tab to make the model more complicated, detailed, accurate, etc.)

## NETLOGO FEATURES

(interesting or unusual features of NetLogo that the model uses, particularly in the Code tab; or where workarounds were needed for missing features)

## RELATED MODELS

(models in the NetLogo Models Library and elsewhere which are of related interest)

## CREDITS AND REFERENCES

Adapted from this StarLogo model: https://www.slnova.org/GUTS/projects/13159/

(a reference to the model's URL on the web if it has one, as well as any other necessary credits, citations, and links)

(back to the NetLogo User Community Models)